package com.itheima.dubbo.api;


import com.itheima.model.domain.User;

public interface UserApi {
    //根据手机查询用户
    User findByMobile(String phone);

    //保存用户，返回用户id
    Long save(User user);

    void update(User user);

    User findById(Long userId);

    User findhuanxin(String hunaxinId);
}
